package com.imooc.ecommerce;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : huangguangyue
 * @date : 2024/11/13 16:58
 */
@Slf4j
@RestController
@RequestMapping("/x")
public class NacosClientController {

    @GetMapping("xx")
    public String logNacosClientInfo(
            @RequestParam(defaultValue = "e-commerce-nacos-client") String serviceId
    ) {
        return "xxx";
    }
}
